from django.contrib import admin
from django.views.static import serve
from django.urls import path, include, re_path
from django.conf import settings

urlpatterns = [
    re_path('^static/(?P<path>.*)', serve, {'document_root': settings.STATIC_ROOT}),
    re_path('^file/(?P<path>.*)', serve, {'document_root': settings.MEDIA_ROOT}),
    path('admin/', admin.site.urls),
    path('', include('player.urls', namespace='player')),

]
